import React from 'react';
import { useRoutes } from 'react-router-dom'
import router from "./router/index";

const App: React.FC = () => {
  const elementRoute = useRoutes(router)
  return (
    <div>
      {elementRoute}
    </div>
  )
}

export default App;